<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>exploit test</title>
<script type="text/javascript">
    // accesing a non porject file should fail
    async function fetchExternalProjectFile() {
        try{
            const response = await fetch("../movies.txt");
            document.responseStatus = response.status;
        } catch (e){
            console.error(e);
            document.responseStatus = "ERRORED_OUT_TEST_SHOULD_FAIL_IF_REACHED_HERE";
        }
    }
    fetchExternalProjectFile();
</script>
</head>

<body class="testClass">
<div id="status"></div>
</body>
</html>
